package net.xdclass.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "用户注册对象", description = "用户注册请求对象")
@Data
public class UserRegisterRequest {

    @ApiModelProperty(value = "昵称", example = "Anna")
    private String name;

    @ApiModelProperty(value = "密码", example = "123")
    private String pwd;

    @ApiModelProperty(value = "头像", example = "")
    private String headImg;

    @ApiModelProperty(value = "用户个性签名", example = "人生需要动态规划，学习需要贪心算法")
    private String slogan;

    @ApiModelProperty(value = "0女 1男", example = "0")
    private int sex;

    @ApiModelProperty(value = "邮箱", example = "hb242324@126.com")
    private String mail;

    @ApiModelProperty(value = "验证码", example = "123")
    private String code;
}
